package com.yuanchu.goods.listener;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-02-29 19:25
 */
public class MqGoodsConstants {
    /**
     * 交换机
     */
    public final static String GOODS_EXCHANGE = "goods.topic";

    /**
     * 监听新增和修改的队列
     */
    public final static String GOODS_INSERT_QUEUE = "goods.insert.queue";
    /**
     * 监听删除的队列
     */
    public final static String GOODS_DELETE_QUEUE = "goods.delete.queue";
    /**
     * 新增或修改的RoutingKey
     */
    public final static String GOODS_INSERT_KEY = "goods.insert";
    /**
     * 删除的RoutingKey
     */
    public final static String GOODS_DELETE_KEY = "goods.delete";
}
